#include <string.h>
#include "obj3d.h"

#ifndef OBJ3D_C
#define OBJ3D_C

void obj3dInit(Obj3D* obj, unsigned int sp, unsigned int VAO, unsigned int vao_size, unsigned int tex) {
  memset(obj, 0, sizeof(Obj3D));
  obj->shaderProgram = sp;
  obj->VAO = VAO;
  obj->vao_size = vao_size;
  obj->tex = tex;
  obj->transform[0] = 1.0f;
  obj->transform[5] = 1.0f;
  obj->transform[10] = 1.0f;
  obj->transform[15] = 1.0f;
};

#endif
